<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="StyleSheet" href="/css/jpetstore.css" type="text/css" media="screen"/>
</head>
<body>

<div th:fragment="profileField">
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>username</th>
            <th>favouriteCategoryId</th>
            <th>languagePreference</th>
            <th>listOption</th>
            <th>bannerOption</th>
            <th>bannerName</th>
            <th>操作</th>

        </tr>
        </thead>
        <tbody>
        <tr th:each="acc:${accountList}">
            <td th:text="${acc.username}">username</td>
            <td th:text="${acc.favouriteCategoryId}">favouriteCategoryId</td>
            <td th:text="${acc.languagePreference}">languagePreference</td>
            <td th:text="${acc.listOption}">listOption</td>
            <td th:text="${acc.bannerOption}">bannerOption</td>
            <td th:utext="${acc.bannerName}">bannerName</td>
            <td>
                <button class="btn btn-default btn-xs btn-info" onClick="location.href='#'">修改</button>
<!--                <button class="btn btn-default btn-xs btn-danger btn-primary" onClick="location.href='#'">删除</button>-->
                <!--弹出框-->
            </td>
        </tr>
        </tbody>
    </table>

</div>
</body>
</html>